package cn.edu.zut.score.core.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author zby
 * @date 2021/08/04
 */
@Data
public class MessageResponse {

    @ApiModelProperty(value = "消息ID")
    private Long id;

    @ApiModelProperty(value = "消息类型")
    private Integer type;

    @ApiModelProperty(value = "消息标题")
    private String title;

    @ApiModelProperty(value = "消息内容")
    private String content;

    @ApiModelProperty(value = "是否已读 0未读 1已读")
    private Integer isRead;

    @ApiModelProperty(value = "发布时间")
    private Date createTime;
}
